package com.fdb.efp.nls.service.dao;

import com.fdb.efp.nls.service.domain.PrdRuleRel;
import com.fdb.efp.nls.service.vo.PrdRuleRelVO;

import java.util.List;

/**
 * <p>DAO interface:产品规则关联信息表				<p>
 * @author fuzm
 * @date 2018-06-23
 */
public interface PrdRuleRelDao {
	
	public int insertPrdRuleRel(PrdRuleRel prdRuleRel);
	
	public int deleteByPk(PrdRuleRel prdRuleRel);
	
	public int updateByPk(PrdRuleRel prdRuleRel);
	
	public PrdRuleRel queryByPk(PrdRuleRel prdRuleRel);
	
	public List<PrdRuleRel> queryAllOwnerByPage(PrdRuleRelVO prdRuleRel);
	
	public List<PrdRuleRel> queryAllCurrOrgByPage(PrdRuleRelVO prdRuleRel);
	
	public List<PrdRuleRel> queryAllCurrDownOrgByPage(PrdRuleRelVO prdRuleRel);
	
	public List<PrdRuleRel> queryAllByPrdId(PrdRuleRelVO prdRuleRel);
	
	public PrdRuleRel queryByPrdIdAndRuleCollType(PrdRuleRel prdRuleRel);

}
